home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 948 b | 28 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 5337630 7-Feb-90 18:18PST
-
- From: D4695 Skywalker Sys, Scott Collins,PRT
-
- To: ROSENSTEIN1 Rosenstein, Larry
- MACAPP.TECH$ MacApp Technical
-
- Sub: Re: RE>More On UnloadAllSegs
-
- Hello,
-
- Calling UnloadAllSegs from a resident segment is not sufficient. No return
- address in the stack chain may return to a unloadable segment reguardless of
- whether you are currently executing code in a resident segment.
-
- One possible solution (that has been used) is entry and exit calls (like
- %_BP et. al.) that count uses of segments. Entering a routine would increment
- the usage count of its segment. Leaving it would decrement. No segment with a
- non-zero count may be unloaded.
-
- hope this helps (or can I say that)
- -- Scott Collins
-
- PS - what is InsideOut and where is sundesk.
-
-